// import logo from './logo.svg';
import './App.scss';
import React from 'react'
import { Switch, Route, Redirect, Link, NavLink, withRouter } from 'react-router-dom'

// import Home from './views/Home'
// import Reg from './views/Reg'
import Login from './views/Login'
// import Mine from './views/Mine'
import Manage from './views/Manage'



import 'antd/dist/antd.css';
function App(props) {
    return (
        <Switch>

            {/* <Route path="/reg">
                <Reg history={props.history} pageName="用户注册" a={10} />
            </Route> */}
            <Route path="/login" component={Login} />
            <Route path="/manage" component={Manage} />
            <Redirect from="*" to="/login" exact />
        </Switch>
    );
}
export default App;
